Skip to content

Use PodmanComposeError for build validation failures - #1523

Open
mokibit wants to merge 1 commit into
containers:mainfrom
mokibit:remove-traceback-no-build-context
Open

Use PodmanComposeError for build validation failures#1523
mokibit wants to merge 1 commit into
containers:mainfrom
mokibit:remove-traceback-no-build-context

Conversation

@mokibit

@mokibit mokibit commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

This commit replaces generic OSError with PodmanComposeError in container_to_build_args() when Dockerfile is missing from the build context or a custom path, or when both dockerfile and dockerfile_inline are specified.

Fixes #1515.

This commit replaces generic OSError with PodmanComposeError in
container_to_build_args() when Dockerfile is missing from the build
context or a custom path, or when both dockerfile and dockerfile_inline
are specified.

Signed-off-by: Monika Kairaityte <monika@kibit.lt>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

podman-compose errors with a traceback when compose file build context can not find a Dockerfile

1 participant